<?php

$config =  require(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'common_config.php');  

$database = array(
    'log' => array(
        'class' => 'CLogRouter',
        'routes' => array(
            array(
                'class' => 'CFileLogRoute',
                'levels' => 'error, warning',
            ),
//            array(
//                'class' => 'CWebLogRoute'
//            ),
        ),
    ),
    'db'=>array(
            'connectionString' => 'mysql:host=121.40.128.20;dbname=1zw',
            'emulatePrepare' => true,
            'username' => '1zw',
            'password' => '123456',
            'charset' => 'utf8',
            'tablePrefix' => 'tk_',
      ),
 );

$config['components'] = CMap::mergeArray($config['components'],$database);  
$config['modules']['gii'] = array(
    'class' => 'system.gii.GiiModule',
    'password' => '123',
);

return $config;  

